package org.edu.modules.stu.zhsz.entity;

import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableName;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;
import com.fasterxml.jackson.annotation.JsonFormat;
import org.edu.common.base.BaseEntity;
import java.sql.Date;
import org.hibernate.validator.constraints.Length;

import java.io.Serializable;

/**
 * entity-被评测的学生
 */
@TableName("ve_stu_hygiene_student")
@Data
@Accessors(chain = true)
@EqualsAndHashCode(callSuper = false)
@ApiModel(value="被评测的学生对象", description="ve_stu_hygiene_student")
public class VeStuHygieneStudent extends BaseEntity implements Serializable {

    private static final long serialVersionUID = 1L;

    @TableField
    @ApiModelProperty(value = "被评学生Id")
        private Integer stuId;

    @TableField
    @ApiModelProperty(value = "项目Id")
        private Integer itemId;

    @TableField
    @ApiModelProperty(value = "检查情况")
    @Length(max = 65535)
        private String descb;

    @TableField
    @ApiModelProperty(value = "评论人")
        private Integer userId;

    @TableField
    @ApiModelProperty(value = "评测时间")
        @JsonFormat(timezone="GMT+8",locale="zh",  pattern="yyyy-MM-dd")
        private Date judgeTime;

    @TableField
    @ApiModelProperty(value = "是否被评论（0：未评论，1：已评论）")
        private Integer status;
}
